#include "mypushbtn.h"

myPushBtn::myPushBtn() {}

void myPushBtn::on_pushButton_clicked()
{
    int curValue=this->text().toInt();
    if(curValue<4)this->setText(QString::number(curValue+1));
    else this->setText("0");
}
